/**
 * 
 */
package com.hexacta.hrs.web.struts.actions.reports;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

import com.hexacta.hrs.web.struts.actions.BaseReportAction;

public class StaffingPendingRequirementsReportAction extends BaseReportAction {

    /**
     * 
     */
    private static final long serialVersionUID = 4648710684920558516L;

    private Date selectedDateFrom;

    public Date getSelectedDateFrom() {
        return selectedDateFrom;
    }

    public void setSelectedDateFrom(final Date selectedDateFrom) {
        this.selectedDateFrom = selectedDateFrom;
    }

    @Override
    protected Map<String, Object> getReportFilters() {
        Map<String, Object> filters = new HashMap<String, Object>();

        if (selectedDateFrom != null) {
            filters.put("selectedDateFrom", selectedDateFrom);
        }

        return filters;
    }

}
